package com.hjxr.xmgl.web.domain;


import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 指标数据指标对象 quota_table_data
 *
 * @author hjxr
 * @date 2021-12-02
 */
public class QuotaTableData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private String fieldId;

    /** 指标名称（中文) */
    @Excel(name = "指标名称", readConverterExp = "指标名称（中文)")
    private String fieldName;

    /** 指标字段(英文） */
    @Excel(name = "指标字段(英文）")
    private String field;

    /** 指标类型 */
    @Excel(name = "指标类型")
    private String fieldType;

    /** 指标长度 */
    @Excel(name = "指标长度")
    private String fieldLength;

    /** 精度 */
    @Excel(name = "精度")
    private String fieldScale;

    /** 注册状态（0：未注册,1:已注册) */
    @Excel(name = "注册状态", readConverterExp = "注册状态（0：未注册,1:已注册)")
    private String regStatus;

    /** 0:填报类型
1:计算类型
2:人工干预 */
    @Excel(name = "0:填报类型1:计算类型2:人工干预")
    private String insertType;

    /** 当insert_type=2的时候，使用(quota_table_function)函数 */
    @Excel(name = "当insert_type=2的时候，使用(quota_table_function)函数")
    private String tableFunctionId;

    /** 指标分类 */
    @Excel(name = "指标分类")
    private String categoryId;

    /** 标记删除(0:正常；1:弃用) */
    private Long delFlag;

    public void setFieldId(String fieldId)
    {
        this.fieldId = fieldId;
    }

    public String getFieldId()
    {
        return fieldId;
    }
    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public String getFieldName()
    {
        return fieldName;
    }
    public void setField(String field)
    {
        this.field = field;
    }

    public String getField()
    {
        return field;
    }
    public void setFieldType(String fieldType)
    {
        this.fieldType = fieldType;
    }

    public String getFieldType()
    {
        return fieldType;
    }
    public void setFieldLength(String fieldLength)
    {
        this.fieldLength = fieldLength;
    }

    public String getFieldLength()
    {
        return fieldLength;
    }
    public void setFieldScale(String fieldScale)
    {
        this.fieldScale = fieldScale;
    }

    public String getFieldScale()
    {
        return fieldScale;
    }
    public void setRegStatus(String regStatus)
    {
        this.regStatus = regStatus;
    }

    public String getRegStatus()
    {
        return regStatus;
    }
    public void setInsertType(String insertType)
    {
        this.insertType = insertType;
    }

    public String getInsertType()
    {
        return insertType;
    }
    public void setTableFunctionId(String tableFunctionId)
    {
        this.tableFunctionId = tableFunctionId;
    }

    public String getTableFunctionId()
    {
        return tableFunctionId;
    }
    public void setCategoryId(String categoryId)
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId()
    {
        return categoryId;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("fieldName", getFieldName())
            .append("field", getField())
            .append("fieldType", getFieldType())
            .append("fieldLength", getFieldLength())
            .append("fieldScale", getFieldScale())
            .append("regStatus", getRegStatus())
            .append("insertType", getInsertType())
            .append("tableFunctionId", getTableFunctionId())
            .append("categoryId", getCategoryId())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
